import request from "@/utils/request";

// 获取文档列表
export function DocumentPreviewList(data) {
  return request({
    url: `/api/extend/DocumentPreview`,
    method: "get",
    data
  });
}
// 文件在线预览
export function PreviewFile(fileName,organizeId) {
  return request({
    url: `/api/extend/DocumentPreview/Preview?FileName=${fileName}?organizeId=${organizeId}`,
    method: "get"
  });
}
